package com.dgut.cbd.finalexp.dto;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @Program: finalexp
 * @Description:
 * @Author: cbd
 * @Create: 2021-06-21
 * @Version: 1.0.0
 **/
@Data
@AllArgsConstructor
public class R {

    String code;
    String msg;
    Object data;

    public static R success(Object data){
        return new R("200","success",data);
    }

}
